const _ = require("lodash");
const fs = require("fs");
const filePath = __dirname + "/../../../config/";
let bootClass;
if (fs.existsSync(filePath + "lifecycle.ts")) {
  const lifecycle = require(filePath + "lifecycle");
  if (!_.isEmpty(lifecycle)) {
    bootClass = new lifecycle.default();
  }
}
module.exports = bootClass;
